package com.darren.euc.entity;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class AppSession implements Serializable {	

	private static final long serialVersionUID = 1590349026182285939L;
	
	private Map<String,Object> mySession = new HashMap<String,Object>();
	
	public java.lang.Object getAttribute(java.lang.String name){
		return mySession.get(name);
	}
	
	public java.lang.Object setAttribute(java.lang.String name,java.lang.Object value){
		return mySession.put(name, value);
	}
	
	public void removeAttribute(java.lang.String name){
		mySession.remove(name);
	}
	
	public void removeAllAttribute(){
		mySession.clear();
	}
	
	public Map<String, Object> getMySession() {
		return mySession;
	}

	public void setMySession(Map<String, Object> mySession) {
		this.mySession = mySession;
	}
	
}
